def gen():
    yield from range(10, 50, 10)


if '__main__' == __name__:
    g = gen()
    for i, el in enumerate(g):
        print(i, el)
